﻿namespace SlamCms.Data
{
	public sealed class FilterOperator
	{
		private readonly string value;

		private FilterOperator(string value)
		{
			this.value = value;
		}

		public static readonly FilterOperator Equal = new FilterOperator("=");
		public static readonly FilterOperator Greater = new FilterOperator(">");
		public static readonly FilterOperator GreaterOrEqual = new FilterOperator(">=");
		public static readonly FilterOperator Lower = new FilterOperator("<");
		public static readonly FilterOperator LowerOrEqual = new FilterOperator("<=");
		public static readonly FilterOperator Distinct = new FilterOperator("!=");

		public override string ToString()
		{
			return this.value;
		}
	}
}